home *** CD-ROM | disk | FTP | other *** search
- /*
- SongPlayerCLI v1.52 (by Gareth Griffiths)
- E-Mail: gazchap@btinternet.com
- Help.rexx - Gives help on the commands used in SpCLI.
- */
-
- ADDRESS COMMAND
- OPTIONS RESULTS
- PARSE ARG command
- IF command = "" THEN DO
- SAY " SongPlayerCLI by GazChap/JokerD"
- SAY " Version 1.52 (16-04-2000)"
- SAY " "
- SAY " Usage: SpCLI <command>"
- SAY " "
- SAY " Where <command> is:"
- SAY " "
- SAY " play - play the current file."
- SAY " stop - stop the current file."
- SAY " "
- SAY " add <path> - adds <path> to the playlist."
- SAY " first - switch to the first file in the playlist."
- SAY " prev - select the previous file in the playlist."
- SAY " next - select the next file in the playlist."
- SAY " last - switch to the last file in the playlist."
- SAY " random - select a random file from the playlist."
- SAY " select <id> - changes to file number <id>."
- SAY " find <string> - searches through playlist for <string>."
- SAY " "
- SAY " count - count the number of files in the playlist."
- SAY " info - gives various information on the current file."
- SAY " list - gives ID numbers for all files in playlist."
- SAY " "
- SAY " show - un-iconifies the SongPlayer interface."
- SAY " hide - iconifies the SongPlayer interface."
- SAY " quit - quit's SongPlayer completely."
- SAY " "
- SAY " help <cmd> - display help on <cmd>."
- EXIT
- END
- SAY " SongPlayerCLI by GazChap/JokerD"
- SAY " Version 1.52 (16-04-2000)"
- SAY " "
- ucom=UPPER(command)
- IF ucom = "PLAY" THEN DO
- SAY " · PLAY: Starts playback of the current file."
- END
- IF ucom = "STOP" THEN DO
- SAY " · STOP: Stops playback completely."
- END
- IF ucom = "ADD" THEN DO
- SAY " · ADD: Adds a file to the playlist. You can either pass"
- SAY " the filename as a parameter, e.g."
- SAY " "
- SAY " SpCLI ADD MP3:SimpleMinds_BelfastChild.mp3"
- SAY " "
- SAY " or you can leave it blank and you will be prompted."
- END
- IF ucom = "FIRST" THEN DO
- 8 SAY " · FIRST: Moves to the first file in the playlist."
- END
- IF ucom = "PREV" THEN DO
- SAY " · PREV: Moves to the previous file in the playlist."
- END
- IF ucom = "NEXT" THEN DO
- SAY " · NEXT: Moves to the next file in the playlist."
- END
- IF ucom = "LAST" THEN DO
- SAY " · LAST: Moves to the last file in the playlist."
- END
- IF ucom = "RANDOM" THEN DO
- SAY " · RANDOM: Selects a random file in the playlist."
- END
- IF ucom = "SELECT" THEN DO
- SAY " · SELECT: Jumps to a specified file. This works using ID numbers"
- SAY " which are obtained using either the FIND or LIST commands."
- SAY " You can pass the ID as a parameter, e.g:"
- SAY " "
- SAY " SpCLI SELECT 24"
- SAY " "
- SAY " or you can leave it blank and you will be prompted."
- END
- IF ucom = "FIND" THEN DO
- SAY " · FIND: Searches through the ID3 Title tags for a specified string."
- SAY " You can either pass the search string as a parameter, e.g.:"
- SAY " "
- SAY ' SpCLI FIND "Sunshine"'
- SAY " "
- SAY " Or you can leave it blank and you will be prompted. The"
- SAY " quotes above are important! Do not forget them!"
- END
- IF ucom = "COUNT" THEN DO
- SAY " · COUNT: Counts the number of files in the playlist."
- END
- IF ucom = "INFO" THEN DO
- SAY " · INFO: Gives information on the current file."
- END
- IF ucom = "LIST" THEN DO
- SAY " · LIST: Lists the files in the playlist. Useful for gaining ID's."
- END
- IF ucom = "SHOW" THEN DO
- SAY " · SHOW: Un-iconifies the SongPlayer GUI."
- END
- IF ucom = "HIDE" THEN DO
- SAY " · HIDE: Iconifies the SongPlayer GUI."
- END
- IF ucom = "QUIT" THEN DO
- SAY " · QUIT: Quits the SongPlayer program completely."
- END
- EXIT